package com.ada.mockito;

import com.ada.api.Work;
import org.mockito.Mockito;

/**
 * Hello world!
 */
public class App {
    public static void main(String[] args) {
        System.out.println("Hello World!");
        Work work = Mockito.mock(Work.class);
        Mockito.when(work.name()).thenReturn("ada");
        System.out.println(work.name());
        System.out.println(work.name());
        Mockito.verify(work);
        //企业建站
        //和产品沟通
        //钉钉


    }
}
